package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工序对象 mes_process
 * 
 * @author ruoyi
 * @date 2024-06-01
 */
public class MesProcess extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 工序id */
    private Integer id;

    /** 工序编码 */
    @Excel(name = "工序编码")
    private String processId;

    public String getOldProcessId() {
        return oldProcessId;
    }

    public void setOldProcessId(String oldProcessId) {
        this.oldProcessId = oldProcessId;
    }

    private String oldProcessId;

    /** 工序名称 */
    @Excel(name = "工序名称")
    private String processName;

    /** 设备编码 */
    @Excel(name = "设备编码")
    private String deviceId;

    /** 类型(0质检/1非质检) */
    @Excel(name = "类型(0质检/1非质检)")
    private Integer processType;

    /** 质检编码 */
    @Excel(name = "质检编码")
    private String contentId;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setProcessId(String processId) 
    {
        this.processId = processId;
    }

    public String getProcessId() 
    {
        return processId;
    }
    public void setProcessName(String processName) 
    {
        this.processName = processName;
    }

    public String getProcessName() 
    {
        return processName;
    }
    public void setDeviceId(String deviceId) 
    {
        this.deviceId = deviceId;
    }

    public String getDeviceId() 
    {
        return deviceId;
    }
    public void setProcessType(Integer processType) 
    {
        this.processType = processType;
    }

    public Integer getProcessType() 
    {
        return processType;
    }
    public void setContentId(String contentId) 
    {
        this.contentId = contentId;
    }

    public String getContentId() 
    {
        return contentId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("processId", getProcessId())
            .append("processName", getProcessName())
            .append("deviceId", getDeviceId())
            .append("processType", getProcessType())
            .append("contentId", getContentId())
            .toString();
    }
}
